<template>
    <div>
        <!-- <user :value="user.name" @input="user.name = $event" /> -->
        <!-- <user v-model="user.name" /> -->
        <input v-model="user.name" />
    </div>
</template>

<script>
// import User from "./User.vue";
export default {
    // components: { User },
    data() {
        return {
            user: { id: 1, name: "李四", age: 19 }
        };
    }
};
</script>

<style></style>
